package com.hs.room.model.archive

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "archive")
data class Archive(
    @PrimaryKey(autoGenerate = true)
    val localId: Long,//本地数据库主键
    @ColumnInfo
    var id: Long,//服务器返回ID
    @ColumnInfo
    var archiveName: String,//档案名称
    @ColumnInfo
    var archiveNumber: String,//档案编号
    @ColumnInfo
    var archiveTypeUUId: String,//档案类型
    @ColumnInfo
    var archiveRFIDCode: String,//标签码
    @ColumnInfo
    var status: String,//档案状态
    @ColumnInfo
    var archiveLevelUUId: String,//档案级别
    @ColumnInfo
    var creator: String,//建档人
    @ColumnInfo
    var creationDate: String,//建档日期
    @ColumnInfo
    var caseNumber: String,//案件编号
    @ColumnInfo
    var caseName: String,//案件名称
    @ColumnInfo
    var archiveDescription: String,//档案描述
    @ColumnInfo
    var storageLocation: String,//存放位置，例如档案柜编号
    @ColumnInfo
    var boardId: Long,//存放位置，例如档案柜编号
    @ColumnInfo
    var lockID: Long,//存放位置，例如档案柜编号
    @ColumnInfo
    var readerMac: Long,//存放位置，例如档案柜编号
    @ColumnInfo
    var borrowUUID: String,//当前借用uuid
    @ColumnInfo
    var addDate: String,//添加时间
    @ColumnInfo
    var deviceUUId: String,//设备uuid
    @ColumnInfo
    var isApprove: Boolean,//是否审批
)
